package com.sxbbc.common.core.mapper.jz;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sxbbc.common.core.entity.jz.AgMoneyDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxbbc.common.core.utils.BasePage;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 * 代理共享值明细 Mapper 接口
 * </p>
 *
 * @author yuuG
 * @since 2019-08-21
 */
public interface AgMoneyDetailMapper extends BaseMapper<AgMoneyDetail> {

    BigDecimal querySumCash(Integer agid);

    IPage<AgMoneyDetail> handleSelectMoneyDetails(BasePage<AgMoneyDetail> page, @Param("agId") Integer agId);
}
